package com.woniu.bean;

import java.io.Serializable;

public class Account implements Serializable {
	

	/**
	 * 
	 */
	private static final long serialVersionUID = -4819365878735778071L;
	private int accountId;
	private String accountName;
	public int getAccountId() {
		return accountId;
	}
	public void setAccountId(int accountId) {
		this.accountId = accountId;
	}
	public String getAccountName() {
		return accountName;
	}
	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}
	public String getAccountPwd() {
		return accountPwd;
	}
	public void setAccountPwd(String accountPwd) {
		this.accountPwd = accountPwd;
	}
	public double getAccountBalance() {
		return accountBalance;
	}
	public void setAccountBalance(double accountBalance) {
		this.accountBalance = accountBalance;
	}
	private String accountPwd;
	private double accountBalance;
	public Account(int accountId, String accountName, String accountPwd, double accountBalance) {
		super();
		this.accountId = accountId;
		this.accountName = accountName;
		this.accountPwd = accountPwd;
		this.accountBalance = accountBalance;
	}
	public Account(String accountName, String accountPwd) {
		this(0,accountName,accountPwd,0);
	}
	public Account() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Account [accountId=" + accountId + ", accountName=" + accountName + ", accountPwd=" + accountPwd
				+ ", accountBalance=" + accountBalance + "]";
	}
	
	
}
